import request from "@/utils/request";

export function chat(data) {
  console.log(data);
  return request({
    url: '/ai/content/chat',
    method: 'post',
    data: data,
    timeout: 1000*60*5
  })
}


export function saveContentToServer(data) {
  return request({
    url: '/ai/content/save',
    method: 'post',
    data: data
  })
}
